package com.geezdata.cps.ttk.mapper.mapper;

import org.apache.ibatis.annotations.Param;

import com.geezdata.cps.cqrs.mapper.base.insert.InsertMapper;
import com.geezdata.cps.cqrs.mapper.base.select.SelectByPrimaryKeyMapper;
import com.geezdata.cps.cqrs.mapper.base.select.SelectOneMapper;
import com.geezdata.cps.cqrs.mapper.base.update.UpdateByPrimaryKeyMapper;
import com.geezdata.cps.ttk.domain.domain.OpenUser;

public interface OpenUserMapper extends
		InsertMapper<OpenUser, Long>,
		UpdateByPrimaryKeyMapper<OpenUser>,
		SelectOneMapper<OpenUser>,
		SelectByPrimaryKeyMapper<OpenUser, Long>{
	OpenUser getRecentOpenUserByOpenId(@Param("openId")String openId);
}